#include <iostream>
#include <typeinfo>
#include <string>
#include "float.h"
using namespace std;
int main()
{
	Float myFloat(2.0); 
	
	Length myLen(myFloat, "meters");
	myLen = myLen.toCentimeters();
	myLen = myLen.toYards();
	myLen = myLen.toCentimeters();
	myLen = myLen.toKilometers();
	myLen = myLen.toMiles();
	myLen = myLen.toMillimeters();
	myLen = myLen.toMeters();
	cout << myLen.toString() << endl;
	Length myLen2(myFloat, "meters");
	if(myLen2.toFeet() == myLen.toMiles()) {
	  cout << "Equal" << endl;
	} else {
	  cout << "NE!" << endl;
	} 

return 0; 
} 


